package com.yn.xr.common.exception;

import com.yn.xr.common.exception.base.BaseException;
import com.yn.xr.common.properties.PropertyConfig;


public class FileException extends BaseException
{

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -7810903910314307922L;

    public FileException(short errorCode,String errorMsg) {
        super(errorCode, errorMsg);
    }
    
    public FileException(short errorCode) {
        super(errorCode, PropertyConfig.getValueBykey(String.valueOf(errorCode)));
    }
    
}
